<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">
       h1 {font-size:16px;}
       p {font-size:14px;text-indent: 20px;}
    </style>
  </head>
  <body>
    <h1>1:接口名称</h1>
    <p>product列表 (食品|用品|服务)<br/>
    获取
    </p>
    <h1>2:接口说明</h1>
    <p>/home/product.do</p>
    <h1>3：接口测试</h1>
    <p>
    <form name="form1" id="form1" enctype="multipart/form-data" method="post"  >
	    cate:
	    <select name="cate">
	      <option value="001001">食品</option>
	      <option value="001002">用品</option>
	      <option value="001003">服务</option>
	    </select><br/>
	    startIndex:<input type="text" name="startIndex" value="0"/> 开始行数<br/>
	    itemCount:<input type="text" name="itemCount" value="10"/> 每页行数<br/>
	    
	    
	    latitude:<input type="text" name="latitude" value="40.013232"/> 纬度<br/>
	    longitude:<input type="text" name="longitude" value="116.45868"/> 经度<br/>
	    radius:<input type="text" name="radius" value="10"/> 获取范围 (公里)<br/>
	    city:<input type="text" name="city" value=""/> 市<br/>
	    district:<input type="text" name="district" value=""/> 区<br/>
	    
	    <input type="button" value="submit" onclick='exe()'>
	</form>
	<br/>
    </p>
    
    <h1>4：接口返回</h1>
    <p>
    <div id="backJson">
       加载中...
    </div>
    <br/>
    
    </p>
  </body>
</html>
<script type="text/javascript" src="/js/xhr.js"></script>
<script type="text/javascript" src="/js/cactus.js"></script>
<script>
    function exe(){
           Demo.execute("/home/product.do",document.forms["form1"]);
    }
    exe();
</script>
